<script setup>
import { reactive, ref } from 'vue';
import request, { host } from '@/utils/request'


const total = reactive({
    total: 0
})

const goodslist = ref([])
const getData = async function () {
    const { data } = await request.get('/goods/soup')
    console.log('data', data.data);
    goodslist.value = data.data;
    // total = data.data.total;
}
getData()
</script>
<template>
        <div class="detaillist">
   

<!--             
                <div v-for="item in goodslist" title="图片">
                    <h2>{{item.goodsname}}</h2>
                    
                
                </div> -->
          
        </div>

</template>